package com.example.luozizhao.eprxdemo.di.module;

import com.example.luozizhao.eprxdemo.commom.App;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * Created by luozizhao on 2018/5/15.
 */

@Module
public class AppModle {

    private final App app;


    public AppModle(App app) {
        this.app = app;
    }

    @Singleton
    @Provides
    public App getApp() {
        return app;
    }


}
